﻿@using NTQOnlineExam.Services.Infrastructure.MVC
@model NTQOnlineExamFrontend.Models.LocalPasswordModel
@{
    ViewBag.Title = "Change Password";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="col-sm-8">
   @* <h3 class="headline first-child"><span>Change Password</span></h3>*@
    @using (Html.BeginForm("Manage", "Account"))
    { 
        @Html.AntiForgeryToken()
        @Html.ValidationSummary() 
        <div class="form-group">
            <div class="row">
                <div class="col-sm-6">
                    @Html.LabelFor(m => m.OldPassword)
                    @Html.PasswordFor(m => m.OldPassword, new { @class = "form-control" })
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    @Html.LabelFor(m => m.NewPassword)
                    @Html.PasswordFor(m => m.NewPassword, new { @class = "form-control" })
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    @Html.LabelFor(m => m.ConfirmPassword)
                    @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control" })
                </div>
            </div>
        </div>
        <div class="controls">
            <button class="btn btn-lg btn-red" type="submit">Change password</button>
        </div>
    }
</div>
